package newCar;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: sfx
 * Date: 2022-11-05
 * Time: 19:37
 */
public class Car {
    private FrameWork frameWork;
    //现在我不自己创建了,我只拿到我想要的资源就可以了,资源怎么做的我不管
    public Car(FrameWork frameWork){
         this.frameWork = frameWork;
    }
    public void init(){
        System.out.println("Car init()");
        frameWork.init();
    }
}
